#coding=utf-8
# import threading
import config
import request
import func

# 定时器
def start():
	# global timer
	# 开启定时器
	# timer = threading.Timer(config.interval_time*3600,start)
	# timer.start()
	# 开始程序
	log_file = open(config.log_file + func.getDate() +".txt", "w",encoding='utf-8')
	par = {
		'page' : 1,
		'time13' : func.time13(),
		'log_file' : log_file
	}
	request.getList(par)
	log_file.close()

start()